#ifndef __MATRIX_H
#define __MATRIX_H

typedef float NUMTYPE;
typedef struct MatrixStruct Matrix;

struct MatrixStruct {
	NUMTYPE* data;
	int size;
};

Matrix* createMatrix();

NUMTYPE* indexMatrix(Matrix* m, int i, int j);

void redim(Matrix* m, int newsize);

void destroyMatrix(Matrix* m);

#endif
